In This Topic
            
            Resource Path: /sites/{company-id}/api/locations/{id}
            Uri: https://secure.ontime360.com/sites/{company-id}/api/locations/{id}
            Description
Retrieves a single Location object assigned to a given identifier.
Parameters
| Name | Description | Data Type | 
|---|
| id | The unique identifier of a Location as a Guid. | string | 
200 Response 
The response body is of type Location.
Returns a comprehensive Location object.
Overview
|  | Location 
 Represents a comprehensive Location record within the OnTime API.
|  | Zone : Zone The Zone record assigned to this Location.
|  | ID : string The unique identifier for this Zone record. |  
|  | Name : string The name of this Zone. |  
|  | PostalCodes : string The postal codes assigned to this Zone. |  |  
|  | ID : string The unique identifier for this Location record. |  
|  | ContactName : string The primary contact name associated with this Location. |  
|  | CompanyName : string The company name associated with this Location. |  
|  | AddressLine1 : string The street address of this Location. |  
|  | AddressLine2 : string Additional secondary information related to this Location's steet address. |  
|  | City : string The city or locality this Location resides within. |  
|  | State : string The state, province, or other civil entity this Location resides within. |  
|  | PostalCode : string The assigned postal code this Location resides within. |  
|  | Country : string The country or other national political entity this Location resides within. |  
|  | Comments : string Any additional comments associated with this Location. |  
|  | Email : string The email address assigned to this Location. |  
|  | Phone : string The phone number assigned to this Location. |  
|  | Category : string The category assigned to this Location. |  
|  | LatitudeLongitude : string The comma-delimited pair of geographic latitude/longitude coordinates that is assigned to this Location. |  | 
Fault  Responses
| Fault | Description | 
|---|
| 400 | Request was improperly formatted, contained invalid data, or contained incorrect values. See response body for more information. | 
| 401 | Authorization key is invalid or no longer exists. | 
| 403 | Authorization key does not have permission to perform this action, or does not have permission to access the requested data. See response body for more information. | 
See Also